package com.qhu.home.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class HomeController {
	@RequestMapping(value = "home", method = RequestMethod.GET)  
	 public String show() {  

	    return "home";
	  } 
	@RequestMapping(value = "photes", method = RequestMethod.GET)  
	 public String showPhotes() {  

	    return "photes";
	  } 
	@RequestMapping(value = "videos", method = RequestMethod.GET)  
	 public String showVideos() {  

	    return "videos";
	  } 
	 @RequestMapping(value = "common", method = RequestMethod.GET)  
	 public String showCommon() {  

	    return "common";
	  }
}
